home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / MIPTemplate_Print_C9151.PspS < prev    next >
Encoding:
Text File  |  2003-06-06  |  8.2 KB  |  244 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.01 Beta 20030515.10'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': r'Avery International', 
  38.         'Template': [{
  39.             'CellPosition': (0.6675,1.1875), 
  40.             'CellSize': (1.045,1.435), 
  41.             'ImagePlacement': 2, 
  42.             'ImagePath': r'', 
  43.             'RotationAngle': 0, 
  44.             'ImagePosition': (0,0), 
  45.             'ImageSize': (0,0)
  46.             },{
  47.             'CellPosition': (0.6675,3.1575), 
  48.             'CellSize': (1.045,1.435), 
  49.             'ImagePlacement': 2, 
  50.             'ImagePath': r'', 
  51.             'RotationAngle': 0, 
  52.             'ImagePosition': (0,0), 
  53.             'ImageSize': (0,0)
  54.             },{
  55.             'CellPosition': (0.6675,5.1275), 
  56.             'CellSize': (1.045,1.435), 
  57.             'ImagePlacement': 2, 
  58.             'ImagePath': r'', 
  59.             'RotationAngle': 0, 
  60.             'ImagePosition': (0,0), 
  61.             'ImageSize': (0,0)
  62.             },{
  63.             'CellPosition': (0.6675,7.0975), 
  64.             'CellSize': (1.045,1.435), 
  65.             'ImagePlacement': 2, 
  66.             'ImagePath': r'', 
  67.             'RotationAngle': 0, 
  68.             'ImagePosition': (0,0), 
  69.             'ImageSize': (0,0)
  70.             },{
  71.             'CellPosition': (0.6675,9.0675), 
  72.             'CellSize': (1.045,1.435), 
  73.             'ImagePlacement': 2, 
  74.             'ImagePath': r'', 
  75.             'RotationAngle': 0, 
  76.             'ImagePosition': (0,0), 
  77.             'ImageSize': (0,0)
  78.             },{
  79.             'CellPosition': (2.1475,1.1875), 
  80.             'CellSize': (1.045,1.435), 
  81.             'ImagePlacement': 2, 
  82.             'ImagePath': r'', 
  83.             'RotationAngle': 0, 
  84.             'ImagePosition': (0,0), 
  85.             'ImageSize': (0,0)
  86.             },{
  87.             'CellPosition': (2.1475,3.1575), 
  88.             'CellSize': (1.045,1.435), 
  89.             'ImagePlacement': 2, 
  90.             'ImagePath': r'', 
  91.             'RotationAngle': 0, 
  92.             'ImagePosition': (0,0), 
  93.             'ImageSize': (0,0)
  94.             },{
  95.             'CellPosition': (2.1475,5.1275), 
  96.             'CellSize': (1.045,1.435), 
  97.             'ImagePlacement': 2, 
  98.             'ImagePath': r'', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             },{
  103.             'CellPosition': (2.1475,7.0975), 
  104.             'CellSize': (1.045,1.435), 
  105.             'ImagePlacement': 2, 
  106.             'ImagePath': r'', 
  107.             'RotationAngle': 0, 
  108.             'ImagePosition': (0,0), 
  109.             'ImageSize': (0,0)
  110.             },{
  111.             'CellPosition': (2.1475,9.0675), 
  112.             'CellSize': (1.045,1.435), 
  113.             'ImagePlacement': 2, 
  114.             'ImagePath': r'', 
  115.             'RotationAngle': 0, 
  116.             'ImagePosition': (0,0), 
  117.             'ImageSize': (0,0)
  118.             },{
  119.             'CellPosition': (3.6275,1.1875), 
  120.             'CellSize': (1.045,1.435), 
  121.             'ImagePlacement': 2, 
  122.             'ImagePath': r'', 
  123.             'RotationAngle': 0, 
  124.             'ImagePosition': (0,0), 
  125.             'ImageSize': (0,0)
  126.             },{
  127.             'CellPosition': (3.6275,3.1575), 
  128.             'CellSize': (1.045,1.435), 
  129.             'ImagePlacement': 2, 
  130.             'ImagePath': r'', 
  131.             'RotationAngle': 0, 
  132.             'ImagePosition': (0,0), 
  133.             'ImageSize': (0,0)
  134.             },{
  135.             'CellPosition': (3.6275,5.1275), 
  136.             'CellSize': (1.045,1.435), 
  137.             'ImagePlacement': 2, 
  138.             'ImagePath': r'', 
  139.             'RotationAngle': 0, 
  140.             'ImagePosition': (0,0), 
  141.             'ImageSize': (0,0)
  142.             },{
  143.             'CellPosition': (3.6275,7.0975), 
  144.             'CellSize': (1.045,1.435), 
  145.             'ImagePlacement': 2, 
  146.             'ImagePath': r'', 
  147.             'RotationAngle': 0, 
  148.             'ImagePosition': (0,0), 
  149.             'ImageSize': (0,0)
  150.             },{
  151.             'CellPosition': (3.6275,9.0675), 
  152.             'CellSize': (1.045,1.435), 
  153.             'ImagePlacement': 2, 
  154.             'ImagePath': r'', 
  155.             'RotationAngle': 0, 
  156.             'ImagePosition': (0,0), 
  157.             'ImageSize': (0,0)
  158.             },{
  159.             'CellPosition': (5.1075,1.1875), 
  160.             'CellSize': (1.045,1.435), 
  161.             'ImagePlacement': 2, 
  162.             'ImagePath': r'', 
  163.             'RotationAngle': 0, 
  164.             'ImagePosition': (0,0), 
  165.             'ImageSize': (0,0)
  166.             },{
  167.             'CellPosition': (5.1075,3.1575), 
  168.             'CellSize': (1.045,1.435), 
  169.             'ImagePlacement': 2, 
  170.             'ImagePath': r'', 
  171.             'RotationAngle': 0, 
  172.             'ImagePosition': (0,0), 
  173.             'ImageSize': (0,0)
  174.             },{
  175.             'CellPosition': (5.1075,5.1275), 
  176.             'CellSize': (1.045,1.435), 
  177.             'ImagePlacement': 2, 
  178.             'ImagePath': r'', 
  179.             'RotationAngle': 0, 
  180.             'ImagePosition': (0,0), 
  181.             'ImageSize': (0,0)
  182.             },{
  183.             'CellPosition': (5.1075,7.0975), 
  184.             'CellSize': (1.045,1.435), 
  185.             'ImagePlacement': 2, 
  186.             'ImagePath': r'', 
  187.             'RotationAngle': 0, 
  188.             'ImagePosition': (0,0), 
  189.             'ImageSize': (0,0)
  190.             },{
  191.             'CellPosition': (5.1075,9.0675), 
  192.             'CellSize': (1.045,1.435), 
  193.             'ImagePlacement': 2, 
  194.             'ImagePath': r'', 
  195.             'RotationAngle': 0, 
  196.             'ImagePosition': (0,0), 
  197.             'ImageSize': (0,0)
  198.             },{
  199.             'CellPosition': (6.5875,1.1875), 
  200.             'CellSize': (1.045,1.435), 
  201.             'ImagePlacement': 2, 
  202.             'ImagePath': r'', 
  203.             'RotationAngle': 0, 
  204.             'ImagePosition': (0,0), 
  205.             'ImageSize': (0,0)
  206.             },{
  207.             'CellPosition': (6.5875,3.1575), 
  208.             'CellSize': (1.045,1.435), 
  209.             'ImagePlacement': 2, 
  210.             'ImagePath': r'', 
  211.             'RotationAngle': 0, 
  212.             'ImagePosition': (0,0), 
  213.             'ImageSize': (0,0)
  214.             },{
  215.             'CellPosition': (6.5875,5.1275), 
  216.             'CellSize': (1.045,1.435), 
  217.             'ImagePlacement': 2, 
  218.             'ImagePath': r'', 
  219.             'RotationAngle': 0, 
  220.             'ImagePosition': (0,0), 
  221.             'ImageSize': (0,0)
  222.             },{
  223.             'CellPosition': (6.5875,7.0975), 
  224.             'CellSize': (1.045,1.435), 
  225.             'ImagePlacement': 2, 
  226.             'ImagePath': r'', 
  227.             'RotationAngle': 0, 
  228.             'ImagePosition': (0,0), 
  229.             'ImageSize': (0,0)
  230.             },{
  231.             'CellPosition': (6.5875,9.0675), 
  232.             'CellSize': (1.045,1.435), 
  233.             'ImagePlacement': 2, 
  234.             'ImagePath': r'', 
  235.             'RotationAngle': 0, 
  236.             'ImagePosition': (0,0), 
  237.             'ImageSize': (0,0)
  238.             }]
  239.         }
  240.  
  241. def Do(Environment):
  242.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  243.  
  244.